package BehavioralPatterns.Template;

public abstract class Game {
  void initialize(){
    System.out.println("初始化");
  }
  abstract void startPlay();
  abstract void endPlay();

  final void play(){
    initialize();
    startPlay();
    endPlay();
  }
}
